package com.ucar.train.dao;

import com.ucar.train.dto.CrmEnterpriseDTO;
import org.apache.ibatis.annotations.Param;

public interface CrmEnterpriseMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * @Author: wufuqiang
     * @Description:插入企业用户信息
     * @Param:a
     * @return:a
     * @Date: 2019/8/15
     */
    Long insert(@Param("crmEnterpriseDTO") CrmEnterpriseDTO crmEnterpriseDTO);

    int insertSelective(CrmEnterpriseDTO record);

    /**
     * @Author: wufuqiang
     * @Description: 查询用户信息
     * @Param:a
     * @return:a
     * @Date: 2019/8/15
     */
    CrmEnterpriseDTO selectById(Long id);

    int updateByPrimaryKeySelective(CrmEnterpriseDTO record);

    int update(@Param("crmEnterpriseDTO") CrmEnterpriseDTO crmEnterpriseDTO);
}